﻿using SqlSugar;

namespace B.S.Warehouse.Domain
{
    /// <summary>
    /// 入库记录表
    /// </summary>
    public class IncomingRecord
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int RecordID { get; set; }
        /// <summary>
        /// 入库单号
        /// </summary>
        public string ReceiptNumber { get; set; }
        /// <summary>
        /// 入库日期
        /// </summary>
        public DateTime ReceiptDate { get; set; }
        /// <summary>
        /// 入库物品的名称
        /// </summary>
        public string ItemName { get; set; }
        /// <summary>
        /// 入库物品的数量
        /// </summary>
        public int Quantity { get; set; }
        /// <summary>
        /// 物品的供应商
        /// </summary>
        public string Supplier { get; set; }
        /// <summary>
        /// 入库的类型
        /// </summary>
        public bool IncomingType { get; set; }
        /// <summary>
        /// 入库物品所在的仓库标识
        /// </summary>
        public int WarehouseID { get; set; }
        /// <summary>
        /// 入库物品所在的库位标识
        /// </summary>
        public int StorageAreaID { get; set; }
        /// <summary>
        /// 入库物品所在的仓位标识
        /// </summary>
        public int LocationID { get; set; }
    }
}
